<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<body>
<table class="table table-bordered">
  <thead>
    <tr>
      <th>级别</th>
      <th>人数</th>
      <th>百分比</th>
    </tr>
  </thead>
  <tbody>
  <c:forEach var="level" items="${list}">
    <tr>
      <td>${level.plevel}</td>
      <td>${level.c}</td>
      <td>${level.c*100/total}%</td>
    </tr>
  </c:forEach>
  </tbody>
</table>
</body>
</html>